<?php
session_start();
?>
<?php
// tại đây thực thi các hoạt động khi đăng nhập thành công.<?php
if (isset($_SESSION['User_e'])) {
    $id_account = $_SESSION['User_ID'];
    $Name_account = $_SESSION['User_Name'];
} else {
    echo 'Chưa Đăng Nhập';
    $id_account = 'Chưa đăng Nhập';
    $Name_account = 'Chưa Đăng Nhập';
}
if (isset($_SESSION['User_e'])) {
    $dislay = 'none';
    $dislaymag = '';
} else {
    $dislay = '';
    $dislaymag = 'none';
}
?>
<html>
    <head>
        <title><?php echo $Name_account ?> | Anime Việt</title>
        <meta charset="UTF-8">                 
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="SHORTCUT ICON" href="icon/Flavicon"> 
        <meta name="msvalidate.01" content="9F288B3B53D32225CE6A7">
        <script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>     
        <script src="JS/tabs.js" type="text/javascript"></script>
        <link href="CSS/account.css" rel="stylesheet">

        <script src="JS/jquery-1.11.1.min.js" type="text/javascript"></script>
        <link href="CSS/anime.css" rel="stylesheet">
        <script src="JS/Maincontent.js" type="text/javascript"></script>
        <script src="JS/dialogLogin.js" type="text/javascript"></script>

        <script src="JS/slidebaner.js" type="text/javascript"></script>


        <link href="CSS/dialogLogin.css" rel="stylesheet">     
        <link href="CSS/body.css" rel="stylesheet">

    </head>

    <body>
        <header class="header">
            <div class="float-header">               
                <div id="container-s" class="container-s" style="position: fixed; top: 0px; left: 0px;">
                    <div class="container-f">                               
                        <div class="logo">
                            <div style="float:left;margin:9px 10px 0 0;">
                                <a href="animw-web-project">                                                             
                                    <img src="icon/icon-logo.png" width="85px" alt="Anime.VN"/>
                                </a>                               
                            </div>  
                            <div style="float:right;margin:9px 10px 0 0;display: <?php echo $dislay ?>">
                                <a href="#login-box" class="login-window button">Đăng nhập</a>
                                <div id="login-box" class="login">
                                    <p class="login_title"> Đăng nhập</p>
                                    <a href="#" class="close"><img src="icon/Close-icon.png" class="img-close" title="Close Window" alt="Close" /></a>
                                    <form method="post" class="login-content" action="index.php">
                                        <label class="username">
                                            <span>Tên hoặc email</span>
                                            <input id="username" name="username" value="" type="text" autocomplete="on" placeholder="Username">
                                        </label>
                                        <label class="password">
                                            <span>Mật khẩu</span>
                                            <input id="password" name="password" value="" type="password" placeholder="Password">

                                        </label>
                                        <button class="button submit-button" type="submit" name="ok">Đăng nhập</button>
                                        <button class="button submit-button" type="submit" name="res">Đăng Ký</button>
                                        <p>
                                            <a class="forgot" href="#">Quên mật khẩu?</a>
                                        </p>        
                                    </form>
                                </div>
                            </div>
                            <div style="float:right;margin:9px 10px 0 0;display: <?php echo $dislaymag ?>">
                                <a href="logout.php" class="button">Thoát</a>
                            </div>
                            <div style="float:right;margin:9px 10px 0 0;display: <?php echo $dislaymag ?>">
                                <a href="manager_user.php" class="button">Quản Lý Thành Viên</a>

                            </div>
                        </div>
                    </div>
                </div>  
            </div> 
            <!-- NAV -->
            <div id="nav-place-container" style="margin-top: 47px; height: 50px; width: 100%; border-bottom-color: rgb(238, 238, 238); border-bottom-width: 1px; border-bottom-style: solid; background:#aaa;">
                <div style="width:1000px; margin:0 auto;">
                    <div style="position: relative; ">
                        <div class="nav-place">
                            <div style="float:left; width:800px; margin-top: -7px;">                    
                                <ul class="nav-place-menu" style="margin-left: -40px;">
                                    <li>
                                        <a href="#" title="HOME" data-type="list">
                                            Trang Chủ
                                        </a>
                                    </li>
                                    <li>
                                        <a href="#" title = "Anime">Anime</a>
                                        <ul>
                                            <li>
                                                <a href="#" title="New" >
                                                    Mới Cập Nhật
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#" title="Hot" >
                                                    Đang Hot
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#" title="Most">
                                                    Xem Nhiều Nhất
                                                </a>
                                            </li>

                                        </ul>
                                    </li>
                                    <li>
                                        <a href="#" title="Manga" >Manga</a>
                                    </li>
                                    <li>
                                        <a href="#" title="Coslay" >Game</a>
                                    </li>
                                    <li>
                                        <a href="#" title="Diễn Đàn">Diễn Đàn</a>
                                    </li>
                                    <li>
                                        <a href="#" title="Shop">
                                            Shop                                     
                                        </a>                                 
                                        <ul>
                                            <li>
                                                <a href="#" title="Coslay" >
                                                    Trang Phục Coslay
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#" title="Manga" >
                                                    Truyện Tranh
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#" title="Event">
                                                    Game
                                                </a>
                                            </li>

                                        </ul>


                                    </li>                                   
                                    <li>
                                        <a href="#" title="Contact">
                                            Liên Hệ
                                        </a>
                                    </li>

                                    <li>
                                        <a href="#" title="" data-type="QA">
                                            Hỏi Đáp
                                        </a>
                                    </li>

                                </ul>
                            </div>
                            <div style="float: right; margin-top: 4px;">
                                <a href="#" title="Mobile App "> Ứng Dụng</a>
                                <a href="#" title="Mobile App "> Giúp Đỡ</a>                          
                                <a style="float:left;border-left:0px; font-weight:normal;" onclick="return changeLanguage('vn')" rel="nofollow" href="/common/changelanguage?code=vn&amp;returnUrl=http%3A%2F%2Fwww.foody.vn%2F">
                                    <img src="icon/english.png" height="16" alt="vn" style="float:left;margin-right:3px;margin-top:15px;"> EN

                                </a>
                            </div>
                        </div>                       
                    </div>
                </div>
            </div>
        </header> 
        <section class="profile-edit-page">
            <div class="profile-edit-container">
                <div class="profile-edit-content">
                    <div class="profiles-header">
                        <span>Quản lý tài khoản</span> 
                        <span style="float:right; text-align:right;font-size:12px; font-weight:normal;padding-right:5px;">
                            <a href="/account.php/?ngoclanhtt3">Xem trang cá nhân
                            </a>
                        </span>
                    </div>
                    <div class="profile-edit-area">
                        <div class="accProfile_left">
                            <div class="accProfile_left_pro">
                                <a href="uploadavatar.php" id="">
                                    <img alt="" src="http://media.foody.vn/usr/g35/341632/avt/s/foody-avatar-900-635472348654306109.jpg" id="imgLeftProfileMemberAvatar"><br>
<?php echo $Name_account ?></a>
                            </div>
                        </div>
                        <div class="accProfile-right">
                            <div class="accProfile-right-box">
                                <div class="accProfile_boxTitle">
                                    Account
                                    <div class="form-box2">
                                        <div class="avatar-edit-right" style="width:700px">
                                            <div>
                                                <ul class="tabs">
                                                    <li><a href="#tabs1" class="">Thông Tin Tài Khoản</a> </li>
                                                    <li><a href="#tabs2" class="">Coment Gần Đây</a> </li>
                                                    <li><a href="#tabs3" class="">Danh Sách Theo Dõi</a> </li>
                                                </ul>
                                                <div class="tabs_contafiner style"><!---Nội dung tabs 1-->
                                                    <div id="tabs1" class="tabs_content" style="display: block">
                                                        <h4>ID</h4>
                                                        <p></p>
                                                        <h4>Tên Người Dùng</h4>
                                                        <p><?php echo $id_account ?></p>
                                                    </div><!--end tabs1-->
                                                    <div id="tabs2" class="tabs_content "> <!---Nội dung tabs 2-->
                                                        <h4>Nội dung tabs 2</h4>
                                                        <ul>
                                                            <li><a href="#">Hỗ trợ trực tuyến </a> </li>
                                                            <li><a href="#">viettin </a> </li>
                                                        </ul>
                                                    </div><!--end tabs2-->
                                                    <div id="tabs3" class="tabs_content"> <!---Nội dung tabs 2-->
                                                        <h4>Nội dung tabs 3</h4>
                                                        <ul>
                                                            <li><a href="#">AAAAA</a> </li>
                                                            <li><a href="#">AAAAAA </a> </li>
                                                        </ul>
                                                    </div>
                                                </div>                               
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </body>
</html>